/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.base.mapper;

import com.jeeplus.modules.base.entity.BusinessQueue;
import com.jeeplus.modules.base.entity.CountQueue;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * 业务表MAPPER接口
 * @author azj
 * @version 2024-09-26
 */
@Mapper
@Repository
public interface GxsqBaseMapper{
	Integer checkTimes(String typeid,String area);
    Integer checkQueueByCard(String typeid,String idcard);
    BusinessQueue findQueueStart(String typeid, String area);
    Integer intoQueue(BusinessQueue businessQueue);
    Integer intoHQueue(BusinessQueue businessQueue);
    Integer delQueue(String id);
    Integer updateHqueue(String id,String jhTime,String countid);
    List <String> qhQueueValue(String typeid, String number);
    Integer updateServiceTime(String id,String serviceTime);
    Integer updateEndTime(String id,String endTime);
    Integer cancleCardQueue(String id);
    List <HashMap<String,Object>>findAreaList();
    CountQueue queueList(String userid, String areaid);
    String waitValue(String countid, String areaid);
    String officeValue(String userid);
    HashMap <String,String> startQueue(String countid, String areaid);
    HashMap <String,String> getQueueTell(String id);
    String checkQueue(String countid);
    Integer updateCountStatus(String status,String userid);
    HashMap <String,String> findCountStatus(String max);
    HashMap <String,String> findCountValue(String countid);
    Integer updatePJ(String pjlevel,String id);
    List <HashMap<String,String>> getTypeName(String countid);
    Integer delDayQueue();
    Integer updateCountNumber(String number,String id);
    Integer updateAllCountNumber();
}